package com.elink.enginerring.dict.co;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.elink.enginerring.common.BaseCo;
import com.elink.enginerring.common.Constant;

public class DictCo extends BaseCo {
	private int dictId;
	
	private String byName;
	
	private String toName;
	
	private String translate;
	
	private String keyWord;
	
	private int isCover;
	
	private int dictType;
	
	private String userId;
	
	private boolean flag;//是否显示我的词条的标志
	
	@DateTimeFormat(pattern=Constant.DATE_FORMAT_YEAR)
	private Date startTime;//开始时间
	
	@DateTimeFormat(pattern=Constant.DATE_FORMAT_YEAR)
	private Date endTime;//结束时间

	public String getToName() {
		return toName;
	}

	public void setToName(String toName) {
		this.toName = toName;
	}

	public String getTranslate() {
		return translate;
	}

	public void setTranslate(String translate) {
		this.translate = translate;
	}

	public int getDictId() {
		return dictId;
	}

	public void setDictId(int dictId) {
		this.dictId = dictId;
	}

	public String getByName() {
		return byName;
	}

	public void setByName(String byName) {
		this.byName = byName;
	}

	public String getKeyWord() {
		return keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}

	public int getIsCover() {
		return isCover;
	}

	public void setIsCover(int isCover) {
		this.isCover = isCover;
	}

	public int getDictType() {
		return dictType;
	}

	public void setDictType(int dictType) {
		this.dictType = dictType;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
}
